package top.ddandang.blog.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 *  文章vo对象，接受前端传递我参数
 * </p>
 *
 * @author D
 * @version 1.0
 * @date 2020/7/7 14:37
 */
@Data
public class ArticleVo {
    @ApiModelProperty(value = "文章Id")
    private Integer articleId;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "文章内容html")
    private String contentHtml;

    @ApiModelProperty(value = "文章内容md")
    private String contentMd;

    @ApiModelProperty(value = "文章分类Id")
    private Integer categoryId;

    @ApiModelProperty(value = "文章标签Id")
    private Integer[] tagsId;

    @ApiModelProperty(value = "文章简要描述")
    private String description;

    @ApiModelProperty(value = "是否允许评论")
    private Boolean allowComment;
}
